package recyclerview.bean;


public class BaseBean extends MutipleBaseBean {
	int request_id = 0;
	int code = CODE_TIME_OUT;
	String message = "";
	String result = "";



	public void setRequest_id(int request_id) {
		this.request_id = request_id;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isSucess() {
		return code == 0;
	}

	public boolean isTimeOut() {
		return code == CODE_TIME_OUT;
	}

	@Override
	public String toString() {
		return "Base_Bean [request_id=" + request_id + ", code=" + code
				+ ", message=" + message + "]";
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

}
